﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage.Master" AutoEventWireup="true" CodeBehind="HuyVe.aspx.cs" Inherits="AirPlane.HuyVe" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 90%;
        }
         .style2
        {
            width: 281px;
            text-align:right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" cellpadding="0" cellspacing="0" class="style1">
        <tr>
            <td colspan="2">
               <h3 class="page-title-517">HỦY VÉ CHO KHÁCH HÀNG</h3></td>
        </tr>
        <tr>
            <td colspan="2">
              <span id="sp-lb-customer">
               <label for="Customer" id="lb_IDKH" style="color:#D70B14;font-weight:bold;font-style:italic"  >Mã Khách Hàng Không để trống</label>
               </span>
               <span id="sp-lb-ticket">
                <label for="Ticket" id="lb_ticket" style="color:#D70B14;font-weight:bold;font-style:italic;"  >Mã Vé Không được để trống</label>
                </span>
                <asp:Label ID="lbThongBao" runat="server" Text=""></asp:Label> </td>
        </tr>
        <tr>
            <td class="style2">
                Số CMND/ Hộ Chiếu: </td>
            <td>
                <asp:TextBox ID="txtsoThe" runat="server" CssClass="input-cap-nhat-dam"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Mã Số Vé: </td>
            <td>
                <asp:TextBox ID="txtMaVe" runat="server" CssClass="input-cap-nhat-dam"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btnTimHuy" runat="server" CssClass="btnTimDam-517" 
                    onclick="btnTim_Click" />
            </td>
        </tr>
      
    </table>
    <div id="show-customer1">
        <asp:Label ID="lbThongBaoshowup" runat="server" Text=""></asp:Label>
        <asp:GridView ID="gw_show_up_customer" runat="server" 
            AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" 
            GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="hoTen" HeaderText="Họ Tên Khách Hàng">
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="quocTich" HeaderText="Quốc Tịch">
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="ID_veBay" HeaderText="Mã Số Vé">
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="ngayDat" HeaderText="Ngày Đặt Vé">
                <HeaderStyle HorizontalAlign="Center" />
                <ItemStyle HorizontalAlign="Center" Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="ngayDi" HeaderText="Ngày Đi" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </div>
    
   
    <span style="margin-top:40px;">
    <asp:Panel ID="Panel1" runat="server">
    <table align="center" cellpadding="0" cellspacing="0" class="style1">
       
        <tr>
            <td class="style2">
                Tiền Trả Lại Cho Khách Hàng: </td>
            <td>
                <asp:TextBox ID="txtrepund" runat="server" CssClass="input-cap-nhat-dam"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2">
                Phí Hủy Vé: </td>
            <td>
                <asp:TextBox ID="txtfee" runat="server" CssClass="input-cap-nhat-dam"></asp:TextBox>
            </td>
        </tr>
       
      
    </table>
     </asp:Panel>
    </span>
   
    <div style="margin-bottom:50px">
    <asp:Button ID="btnHuyVe" runat="server" CssClass="huy-ve-da-dat" 
                    Text="Hủy Vé" onclick="btnHuyVe_Click"/>
   
       
    </div>
</asp:Content>
